/// @file
/// @author Chelsey Batchelor <vadedeyes@gmail.com>
/// @author Abraham Escamilla <abraham.escamilla@live.com>
/// @author Curtis Hollibaugh <curtis.hollibaugh@gmail.com>
/// @copyright Copyright 2014 Chelsey Batchelor <vadedeyes@gmail.com>
/// @copyright Copyright 2014 Abraham Escamilla <abraham.escamilla@live.com>
/// @copyright Copyright 2014 Curtis Hollibaugh <curtis.hollibaugh@gmail.com>
/// Contains tests written while building the GUI class.

#include "../gui/gui.hpp"

#include <gtest/gtest.h>

/// Makes a GUI, starts its event loop, and stops it.
TEST(GUI, MakeAndRun) {
	GUI gui{};
	EXPECT_FALSE(gui.IsRunning());
	
	gui.Start();
	EXPECT_TRUE(gui.IsRunning());
	
	gui.Stop();
	EXPECT_FALSE(gui.IsRunning());
}
